CRMMessageBlock object
Use the CRMMessageBlock object to send email messages or SMS texts. CRMMessageBlock is a child of the CRM object. You can include the block in ASP pages to show a simple email form or to automate the message sent in response to an event. It can be used in visual and in hidden mode.
Syntax to initiate this block:
Copy
MessageBlock = CRM.GetBlock('messageblock');